package com.ytz.service;

import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @DubboReference(mock = "com.ytz.service.fallback.PaymentServiceFallback")
     IPaymentService iPaymentService;


    public String index(){
        return iPaymentService.index();
    }
}
